package fun.hijklmn.magic.admin.server.properties;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @Description
 * @Author fs
 * @Date 2021/6/25 10:25
 * @Version 0.0.1-SNAPSHOT
 **/
@RefreshScope
@Data
@NoArgsConstructor
@Component
@ConfigurationProperties(prefix = "admin")
public class AdminProperties {

    private String rsaPrivateKey;

    private String aesKey;

}
